package com.zhz.mall.portal.dto;

import io.swagger.annotations.ApiModel;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @author zhouhengzhe
 * @date 2023/2/4
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("删除购物车")
public class CartDeleteDTO {

    @NotNull(message = "删除购物车的id集合不能为空")
    private Long ids;
}
